/*
 * Date：10/23/18 10:15 PM
 * Author: guomw
 *
 */

package org.elanfox.intellicommunity.biz.service.core.equipment;


import org.elanfox.intellicommunity.biz.entity.equipment.TrackPO;
import org.elanfox.intellicommunity.data.base.base.SearchableCrudService;

import java.util.List;

/**
 * 定位器service
 *
 * @author loutianix
 * @date 2019-12-09
 */
public interface TrackService extends SearchableCrudService<TrackPO, Integer> {
    /**
     * 获取隐藏点
     *
     * @param startPoint
     * @param endPoint
     * @return
     */
    List<Double[]> find(Long startPoint, Long endPoint);

    TrackPO find(Long startPoint, Long endPoint,Integer pointId);

    TrackPO findByPointId(Integer pointId);

    void deleteByPointId(Integer pointId);
}
